package org.example.sudoku;

import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;
import android.os.Bundle;

public class Sudoku extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
     // Set up click listeners for all the buttons
        View continueButton = this.findViewById(R.id.continue_button);
        continueButton.setOnClickListener((OnClickListener) this);
        View newButton = this.findViewById(R.id.new_button);
        newButton.setOnClickListener((OnClickListener) this);
        View aboutButton = this.findViewById(R.id.about_button);
        aboutButton.setOnClickListener((OnClickListener) this);
        View exitButton = this.findViewById(R.id.exit_button);
        exitButton.setOnClickListener((OnClickListener) this);
    }
    
    public void onClick(View v){
    	switch (v.getId()) {
    	case R.id.about_button:
//    		Intent i = new Intent(this, About.class);
//    		startActivity(i);
    		break;
    	// More buttons go here (if any) ...
    	}
    }
}